@import '../index';

.formContent {
  padding-bottom: 6px;
  background: rgba(26, 26, 26, 0.75);
  border-radius: 6px;
  box-shadow: -15px 15px 15px rgba(4, 5, 34, 0.85);
  .loginFormTitle {
    position: relative;
    padding: 4px 0;
    color: @login-text-color;
    font-weight: bold;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    border-bottom: 1px solid @login-border-color;
    .loginFormBackHandle {
      position: absolute;
      left: 6px;
      color: @login-text-color;
      padding: 0 8px;
      line-height: 32px;
      .loginFormBackHandleIcon {
        font-size: 16px;
        margin-right: 4px;
      }
      .loginFormBackHandleText {
        font-size: 14px;
      }
      &:hover {
        color: @primary-color;
      }
    }
  }
  .loginFormCube {
    padding: 20px 20px 8px 20px;
    .loginFormItem {
      position: relative;
      .loginFormLabelIcon {
        position: absolute;
        top: 6px;
        left: 10px;
        z-index: 10;
        display: none;
        @media screen and (max-width: @screen-sm) {
          display: inline;
        }
        &::after {
          color: white;
          content: '：';
        }
      }
      .loginIcon {
        color: white;
        font-size: 16px;
      }
      :global {
        .ant-form-item-label > label::after {
          color: white;
        }
        .ant-input {
          color: #4fa1d9;
          font-weight: bold;
          background-color: rgba(0, 0, 0, 0.5);
          border-color: rgba(6, 17, 47, 0.25);
        }
        .ant-input-affix-wrapper {
          background-color: rgba(0, 0, 0, 0.5);
          border-color: rgba(6, 17, 47, 0.25);
          .ant-input {
            background-color: unset;
            border-color: unset;
          }
        }
        .ant-input-suffix {
          .ant-input-password-icon {
            color: white;
          }
        }
        .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,
        .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {
          background-color: rgba(0, 0, 0, 0.5);
        }
        .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,
        .ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {
          background-color: rgba(0, 0, 0, 0.5);
        }
      }
    }
  }
}
